package com.ruoyi.video.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ruoyi.video.serializer.Long2StringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 video
 * 
 * @author Larry
 * @date 2024-03-24
 */
public class Video extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    @JsonSerialize(using = Long2StringSerializer.class)
    private Long id;

    /**  */
    @Excel(name = "")
    private String name;

    /**  */
    @Excel(name = "")
    private String fileUrl;

    /**  */
    @Excel(name = "")
    private Long disasterId;

    /**  */
    @Excel(name = "")
    private String picture;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }
    public void setDisasterId(Long disasterId) 
    {
        this.disasterId = disasterId;
    }

    public Long getDisasterId() 
    {
        return disasterId;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("fileUrl", getFileUrl())
            .append("disasterId", getDisasterId())
            .append("picture", getPicture())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
